package com.doubleblacktech.datamanager 
{
    import flash.events.Event;
    
    public class fxaQueryEvent extends Event
    {
        public static const QUERY_COMPLETED:String = "queryCompleted";

		// Define a public variable to hold the state of the enable property.
		public var isEnabled:Boolean;

		private var _results:fxaQueryEventVO;
		
        public function fxaQueryEvent (type:String, isEnabled:Boolean=false)
        {
            super (type);
            
            // Set the new property.
			this.isEnabled = isEnabled;
        }
        
        // Override the inherited clone() method.
		override public function clone():Event {
			return new fxaQueryEvent(type, isEnabled);
		}

        public function set results(value:fxaQueryEventVO):void {
            _results = value;
        }
        
        public function get results():fxaQueryEventVO {
            return _results;
        }
    }
}	